<template>
  <div class="app-container">
    <el-card class="box-card">
      <el-steps :active="active" finish-status="success">
        <el-step title="学生申请信息填写" description=""></el-step>
        <!-- <el-step title="审核状态" description=""></el-step> -->
      </el-steps>
    </el-card>

    
    <Appliactio v-if="base" @props="props"></Appliactio>
    

    <Status v-else></Status>

    <!-- 审核状态页面 -->
  

    <!-- <button  class="dialog-footer" @click="submitForm">申请提交</button> -->

    <!-- 提交申请部分 -->
    <!-- <div class="dialog-footer">
      <el-button type="primary" @click="getPdf(`文档`)">导出</el-button>
    </div> -->
  </div>
</template>

<script>
import Appliactio from '../school/component/applicatiosC.vue';
import Status from '../school/component/Status.vue'


export default {
  components:{
    Appliactio,
    Status
  },
  name: "School",
  data() {
    return {
      active: 0,
      base:true
    };
  },
  created() {
    // this.active=this.$route.query.status+1
  },
  methods: {
    props(base){
      this.base = base.base;
      this.active =base.active;
      console.log(this.base)
    }
  },
};
</script>
